package kotlinquanweizhinan.chapt03条件语句.添加更多的条件
fun main(){
    val name = "Madrigal"
    val healthPoints = 10

    if(healthPoints == 100){
        println(name + " is in excellent conditioin!")
    }else if(healthPoints >=90){
        println(name + " has a few scrateches.")
    }else if(healthPoints >=75){
        println(name + " has some minor wounds.")
    }
    else if(healthPoints >=15){
        println(name + " has some minor wounds.")
    }else{
        println(name + " is in awful condition!")
    }
}